package main

import "fmt"

func main() {
	const (
		A = iota
		B            //iota = 1
		C            //iota = 2
		D = "hahaha" //iota = 3
		E            //iota = 4
		F = 100      //iota = 5
		G            //iota = 6
		H = iota     //iota = 7
		I            //iota = 8
	)
	const (
		J = iota
	)

	fmt.Println(A) //0
	fmt.Println(B) //1
	fmt.Println(C) //2
	fmt.Println(D) //hahaha
	fmt.Println(E) //hahaha
	fmt.Println(F) //100
	fmt.Println(G) //100
	fmt.Println(H) //7
	fmt.Println(I) //8
	fmt.Println(J) //0
}
